TestsMenuR = new function() {
  this.click = function(item) {
    button = $(item).attr('itemId');
    if(typeof(TestC[button]) == 'function') {
      TestC[button]();
    }
    else {
      throw {
        name: 'RouteNotFound',
        message: 'TestMenuR - TestC.' + button + ' not found!'
      };
    }
  }
}